package io.adrainty.bolee.security.models.entity;

import io.adrainty.bolee.framework.commons.basic.BaseEntity;
import io.adrainty.bolee.security.models.valobj.CompanyStatusEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.io.Serial;
import java.time.LocalDateTime;

/**
 * <p>CompanyEntity</p>
 *
 * @author AdRainty
 * @version V1.0.0
 * @description CompanyEntity
 * @since 2025/8/1 14:55:04
 */

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "企业账号管理")
@EqualsAndHashCode(callSuper = true)
public class CompanyEntity extends BaseEntity {

    @Serial
    private static final long serialVersionUID = -6517630423385903444L;

    @Schema(description = "企业编号")
    private String companyNo;

    @Schema(description = "企业名称")
    private String companyName;

    @Schema(description = "注册编号")
    private String registeredNo;

    @Schema(description = "省")
    private String province;

    @Schema(description = "区")
    private String area;

    @Schema(description = "市")
    private String city;

    @Schema(description = "详细地址")
    private String address;

    @Schema(description = "状态")
    private CompanyStatusEnum status;

    @Schema(description = "到期时间")
    private LocalDateTime expireTime;

    @Schema(description = "商户门店web站点")
    private String webSite;

    @Schema(description = "商户app站点")
    private String appSite;

    @Schema(description = "邮箱")
    private String email;

    @Schema(description = "电话")
    private String tel;

    @Schema(description = "负责人手机")
    private String leaderMobile;

    @Schema(description = "负责人")
    private String leaderName;

}
